package com.scedu.demo1;
/*
客户类
通过代理和房东租房
 */
public class Client {
    public static void main(String[] args) {
        Host host=new Host();
        //房东通过代理出租房子
        Proxy proxy = new Proxy(host);
        proxy.rent();
    }
}
